﻿using System;
using TShooter.TfsSearch.EngineModel;

namespace TShooter.TfsSearch.Engine.WorkItem
{
    public class Indexer : IndexerBase
    {
        protected override IndexDocument BuildDocument(int id)
        {
            return Engine.Crawler.BuildDocument(id);
        }

        protected override int GetDocumentRevision(int id)
        {
            throw new NotImplementedException();
        }

        public override string Name
        {
            get { return "Work Item Indexer"; }
        }
    }
}
